package com.cee.service.Impl;

import com.cee.dao.ExamUserCompletionMapper;
import com.cee.dto.ExamUserCompletionResultDTO;
import com.cee.dto.ExamUserUpdDTO;
import com.cee.model.ExamUserCompletion;
import com.cee.service.ExamUserCompletionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;

@Slf4j
@Service
@Transactional
public class ExamUserCompletionServiceImpl implements ExamUserCompletionService {

    @Autowired
    private ExamUserCompletionMapper examUserCompletionMapper;

    @Override
    public void saveExamUserCompletion(ExamUserCompletion examUserCompletion) {
        examUserCompletionMapper.insert(examUserCompletion);
    }

    @Override
    public void updateExamUserCompletion(ExamUserCompletion examUserCompletion) {
        examUserCompletionMapper.updateExamUserCompletion(examUserCompletion);
    }
}
